package b.sync

package object sample {
  final case class TPckRow(
                            id: Long,
                            s: Option[Short] = None,
                            i: Option[Int] = None,
                            v: Option[String] = None,
                            d: Option[scala.math.BigDecimal] = None,
                            t: java.util.Date
                          )

  final case class TKey(id: Long)

  trait SyncX {
    val syncRowNo: Long
    val syncOpType: Int
  }

  final case class XpPckRow(t: TPckRow, syncRowNo: Long, syncOpType: Int) extends SyncX
  final case class TSyncX(syncRowNo: Long, syncOpType: Int)
  final case class XpRow[T](t: T, syncRowNo: Long, syncOpType: Int)
}
